package com.paipaideli.ui.profit.bean;

/**
 * Created by Administrator on 2019/9/10.
 */

import java.lang.reflect.Field;
import java.io.Serializable;
import java.util.List;

public class MentorBean implements Serializable {

    public String msg;
    public int total;
    public String code;
    public int curPage;
    public int pageSize;
    public String status;
    public Data data;

    public class Data implements Serializable {

        public String graduateCount;
        public String parentUsername;
        public String pupilCount;
        public String avatar;
        public String todayPupilCount;
        public String unGraduateCount;
        public String userName;
        public List<PupilResList> pupilResList;

        public class PupilResList implements Serializable {

            public long createTime;
            public String acquirableMoney;
            public String avatar;
            public String userName;
            public String extracted;
            public String userId;

            @Override
            public String toString() {
                String s = "";
                Field[] arr = this.getClass().getFields();
                for (Field f : getClass().getFields()) {
                    try {
                        s += f.getName() + "=" + f.get(this) + "\n,";
                    } catch (Exception e) {
                    }
                }
                return getClass().getSimpleName() + "[" + (arr.length == 0 ? s : s.substring(0, s.length() - 1)) + "]";
            }
        }

        @Override
        public String toString() {
            String s = "";
            Field[] arr = this.getClass().getFields();
            for (Field f : getClass().getFields()) {
                try {
                    s += f.getName() + "=" + f.get(this) + "\n,";
                } catch (Exception e) {
                }
            }
            return getClass().getSimpleName() + "[" + (arr.length == 0 ? s : s.substring(0, s.length() - 1)) + "]";
        }
    }

    @Override
    public String toString() {
        String s = "";
        Field[] arr = this.getClass().getFields();
        for (Field f : getClass().getFields()) {
            try {
                s += f.getName() + "=" + f.get(this) + "\n,";
            } catch (Exception e) {
            }
        }
        return getClass().getSimpleName() + "[" + (arr.length == 0 ? s : s.substring(0, s.length() - 1)) + "]";
    }
}
